<template>
    <h3>用户总数量:{{Storenum}}</h3>
</template>
<script setup lang="ts">
import { ref } from "vue";
import service from "../../../utils/service";
const Storenum = ref();
const getStorenum=()=>{
    service({
        url: "/statistic/user",
    }).then(res => {
        if (res.data.code == 200) {
            // Storenum.push(res.data.data);
            Storenum.value =res.data.data;
        }
    }) 
}
getStorenum();

</script>
<style scoped>
h3{
    margin-top: 20px;
}
</style>